<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
  <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Light &mdash; rhino3dm 8.6.0-beta1 documentation</title>
      <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
      <link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

  
  <!--[if lt IE 9]>
    <script src="_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
        <script src="_static/jquery.js?v=5d32c60e"></script>
        <script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
        <script src="_static/documentation_options.js?v=d31f2110"></script>
        <script src="_static/doctools.js?v=888ff710"></script>
        <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
    <script src="_static/js/theme.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Line" href="Line.html" />
    <link rel="prev" title="Layer" href="Layer.html" /> 
</head>

<body class="wy-body-for-nav"> 
  <div class="wy-grid-for-nav">
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >

          
          
          <a href="index.html" class="icon icon-home">
            rhino3dm
          </a>
              <div class="version">
                8.6.0-beta1
              </div>
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
              <p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="AnnotationBase.html">AnnotationBase</a></li>
<li class="toctree-l1"><a class="reference internal" href="Arc.html">Arc</a></li>
<li class="toctree-l1"><a class="reference internal" href="ArcCurve.html">ArcCurve</a></li>
<li class="toctree-l1"><a class="reference internal" href="ArchivableDictionary.html">ArchivableDictionary</a></li>
<li class="toctree-l1"><a class="reference internal" href="BezierCurve.html">BezierCurve</a></li>
<li class="toctree-l1"><a class="reference internal" href="Bitmap.html">Bitmap</a></li>
<li class="toctree-l1"><a class="reference internal" href="BoundingBox.html">BoundingBox</a></li>
<li class="toctree-l1"><a class="reference internal" href="Box.html">Box</a></li>
<li class="toctree-l1"><a class="reference internal" href="Brep.html">Brep</a></li>
<li class="toctree-l1"><a class="reference internal" href="BrepEdge.html">BrepEdge</a></li>
<li class="toctree-l1"><a class="reference internal" href="BrepEdgeList.html">BrepEdgeList</a></li>
<li class="toctree-l1"><a class="reference internal" href="BrepFace.html">BrepFace</a></li>
<li class="toctree-l1"><a class="reference internal" href="BrepFaceList.html">BrepFaceList</a></li>
<li class="toctree-l1"><a class="reference internal" href="BrepSurfaceList.html">BrepSurfaceList</a></li>
<li class="toctree-l1"><a class="reference internal" href="BrepVertex.html">BrepVertex</a></li>
<li class="toctree-l1"><a class="reference internal" href="BrepVertexList.html">BrepVertexList</a></li>
<li class="toctree-l1"><a class="reference internal" href="Circle.html">Circle</a></li>
<li class="toctree-l1"><a class="reference internal" href="CommonObject.html">CommonObject</a></li>
<li class="toctree-l1"><a class="reference internal" href="ComponentIndex.html">ComponentIndex</a></li>
<li class="toctree-l1"><a class="reference internal" href="Cone.html">Cone</a></li>
<li class="toctree-l1"><a class="reference internal" href="ConstructionPlane.html">ConstructionPlane</a></li>
<li class="toctree-l1"><a class="reference internal" href="Curve.html">Curve</a></li>
<li class="toctree-l1"><a class="reference internal" href="CurvePiping.html">CurvePiping</a></li>
<li class="toctree-l1"><a class="reference internal" href="CurveProxy.html">CurveProxy</a></li>
<li class="toctree-l1"><a class="reference internal" href="Cylinder.html">Cylinder</a></li>
<li class="toctree-l1"><a class="reference internal" href="Decal.html">Decal</a></li>
<li class="toctree-l1"><a class="reference internal" href="DimensionStyle.html">DimensionStyle</a></li>
<li class="toctree-l1"><a class="reference internal" href="Displacement.html">Displacement</a></li>
<li class="toctree-l1"><a class="reference internal" href="Dithering.html">Dithering</a></li>
<li class="toctree-l1"><a class="reference internal" href="DracoCompression.html">DracoCompression</a></li>
<li class="toctree-l1"><a class="reference internal" href="DracoCompressionOptions.html">DracoCompressionOptions</a></li>
<li class="toctree-l1"><a class="reference internal" href="EarthAnchorPoint.html">EarthAnchorPoint</a></li>
<li class="toctree-l1"><a class="reference internal" href="EdgeSoftening.html">EdgeSoftening</a></li>
<li class="toctree-l1"><a class="reference internal" href="Ellipse.html">Ellipse</a></li>
<li class="toctree-l1"><a class="reference internal" href="EmbeddedFile.html">EmbeddedFile</a></li>
<li class="toctree-l1"><a class="reference internal" href="Environment.html">Environment</a></li>
<li class="toctree-l1"><a class="reference internal" href="Extrusion.html">Extrusion</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dm.html">File3dm</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmBitmapTable.html">File3dmBitmapTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmDecalTable.html">File3dmDecalTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmDimStyleTable.html">File3dmDimStyleTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmEmbeddedFileTable.html">File3dmEmbeddedFileTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmGroupTable.html">File3dmGroupTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmInstanceDefinitionTable.html">File3dmInstanceDefinitionTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmLayerTable.html">File3dmLayerTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmLinetypeTable.html">File3dmLinetypeTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmMaterialTable.html">File3dmMaterialTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmMeshModifiers.html">File3dmMeshModifiers</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmObject.html">File3dmObject</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmObjectTable.html">File3dmObjectTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmPlugInData.html">File3dmPlugInData</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmPlugInDataTable.html">File3dmPlugInDataTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmPostEffectTable.html">File3dmPostEffectTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmRdkDocumentData.html">File3dmRdkDocumentData</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmRenderContentTable.html">File3dmRenderContentTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmSettings.html">File3dmSettings</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmShutLiningCurveTable.html">File3dmShutLiningCurveTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmStringTable.html">File3dmStringTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmViewTable.html">File3dmViewTable</a></li>
<li class="toctree-l1"><a class="reference internal" href="File3dmWriteOptions.html">File3dmWriteOptions</a></li>
<li class="toctree-l1"><a class="reference internal" href="FileReference.html">FileReference</a></li>
<li class="toctree-l1"><a class="reference internal" href="Font.html">Font</a></li>
<li class="toctree-l1"><a class="reference internal" href="GeometryBase.html">GeometryBase</a></li>
<li class="toctree-l1"><a class="reference internal" href="GroundPlane.html">GroundPlane</a></li>
<li class="toctree-l1"><a class="reference internal" href="Group.html">Group</a></li>
<li class="toctree-l1"><a class="reference internal" href="Hatch.html">Hatch</a></li>
<li class="toctree-l1"><a class="reference internal" href="InstanceDefinition.html">InstanceDefinition</a></li>
<li class="toctree-l1"><a class="reference internal" href="InstanceReference.html">InstanceReference</a></li>
<li class="toctree-l1"><a class="reference internal" href="Intersection.html">Intersection</a></li>
<li class="toctree-l1"><a class="reference internal" href="Interval.html">Interval</a></li>
<li class="toctree-l1"><a class="reference internal" href="Layer.html">Layer</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Light</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#rhino3dm.Light"><code class="docutils literal notranslate"><span class="pre">Light</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Light"><code class="docutils literal notranslate"><span class="pre">Light.Light()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.IsEnabled"><code class="docutils literal notranslate"><span class="pre">Light.IsEnabled</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.LightStyle"><code class="docutils literal notranslate"><span class="pre">Light.LightStyle</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.IsPointLight"><code class="docutils literal notranslate"><span class="pre">Light.IsPointLight</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.IsDirectionalLight"><code class="docutils literal notranslate"><span class="pre">Light.IsDirectionalLight</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.IsSpotLight"><code class="docutils literal notranslate"><span class="pre">Light.IsSpotLight</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.IsLinearLight"><code class="docutils literal notranslate"><span class="pre">Light.IsLinearLight</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.IsRectangularLight"><code class="docutils literal notranslate"><span class="pre">Light.IsRectangularLight</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Location"><code class="docutils literal notranslate"><span class="pre">Light.Location</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Direction"><code class="docutils literal notranslate"><span class="pre">Light.Direction</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.PerpendicularDirection"><code class="docutils literal notranslate"><span class="pre">Light.PerpendicularDirection</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Intensity"><code class="docutils literal notranslate"><span class="pre">Light.Intensity</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.PowerWatts"><code class="docutils literal notranslate"><span class="pre">Light.PowerWatts</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.PowerLumens"><code class="docutils literal notranslate"><span class="pre">Light.PowerLumens</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.PowerCandela"><code class="docutils literal notranslate"><span class="pre">Light.PowerCandela</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Ambient"><code class="docutils literal notranslate"><span class="pre">Light.Ambient</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Diffuse"><code class="docutils literal notranslate"><span class="pre">Light.Diffuse</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Specular"><code class="docutils literal notranslate"><span class="pre">Light.Specular</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.AttenuationVector"><code class="docutils literal notranslate"><span class="pre">Light.AttenuationVector</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.SpotAngleRadians"><code class="docutils literal notranslate"><span class="pre">Light.SpotAngleRadians</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.SpotExponent"><code class="docutils literal notranslate"><span class="pre">Light.SpotExponent</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.HotSpot"><code class="docutils literal notranslate"><span class="pre">Light.HotSpot</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Length"><code class="docutils literal notranslate"><span class="pre">Light.Length</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Width"><code class="docutils literal notranslate"><span class="pre">Light.Width</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.ShadowIntensity"><code class="docutils literal notranslate"><span class="pre">Light.ShadowIntensity</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.Name"><code class="docutils literal notranslate"><span class="pre">Light.Name</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.SetAttenuation"><code class="docutils literal notranslate"><span class="pre">Light.SetAttenuation()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.GetAttenuation"><code class="docutils literal notranslate"><span class="pre">Light.GetAttenuation()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#rhino3dm.Light.GetSpotLightRadii"><code class="docutils literal notranslate"><span class="pre">Light.GetSpotLightRadii()</span></code></a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Line.html">Line</a></li>
<li class="toctree-l1"><a class="reference internal" href="LinearWorkflow.html">LinearWorkflow</a></li>
<li class="toctree-l1"><a class="reference internal" href="LineCurve.html">LineCurve</a></li>
<li class="toctree-l1"><a class="reference internal" href="Linetype.html">Linetype</a></li>
<li class="toctree-l1"><a class="reference internal" href="Material.html">Material</a></li>
<li class="toctree-l1"><a class="reference internal" href="Mesh.html">Mesh</a></li>
<li class="toctree-l1"><a class="reference internal" href="MeshFaceList.html">MeshFaceList</a></li>
<li class="toctree-l1"><a class="reference internal" href="MeshingParameters.html">MeshingParameters</a></li>
<li class="toctree-l1"><a class="reference internal" href="MeshNormalList.html">MeshNormalList</a></li>
<li class="toctree-l1"><a class="reference internal" href="MeshTextureCoordinateList.html">MeshTextureCoordinateList</a></li>
<li class="toctree-l1"><a class="reference internal" href="MeshTopologyEdgeList.html">MeshTopologyEdgeList</a></li>
<li class="toctree-l1"><a class="reference internal" href="MeshVertexColorList.html">MeshVertexColorList</a></li>
<li class="toctree-l1"><a class="reference internal" href="MeshVertexList.html">MeshVertexList</a></li>
<li class="toctree-l1"><a class="reference internal" href="ModelComponent.html">ModelComponent</a></li>
<li class="toctree-l1"><a class="reference internal" href="NurbsCurve.html">NurbsCurve</a></li>
<li class="toctree-l1"><a class="reference internal" href="NurbsCurveKnotList.html">NurbsCurveKnotList</a></li>
<li class="toctree-l1"><a class="reference internal" href="NurbsCurvePointList.html">NurbsCurvePointList</a></li>
<li class="toctree-l1"><a class="reference internal" href="NurbsSurface.html">NurbsSurface</a></li>
<li class="toctree-l1"><a class="reference internal" href="NurbsSurfaceKnotList.html">NurbsSurfaceKnotList</a></li>
<li class="toctree-l1"><a class="reference internal" href="NurbsSurfacePointList.html">NurbsSurfacePointList</a></li>
<li class="toctree-l1"><a class="reference internal" href="ObjectAttributes.html">ObjectAttributes</a></li>
<li class="toctree-l1"><a class="reference internal" href="PhysicallyBasedMaterial.html">PhysicallyBasedMaterial</a></li>
<li class="toctree-l1"><a class="reference internal" href="Plane.html">Plane</a></li>
<li class="toctree-l1"><a class="reference internal" href="PlaneSurface.html">PlaneSurface</a></li>
<li class="toctree-l1"><a class="reference internal" href="Point.html">Point</a></li>
<li class="toctree-l1"><a class="reference internal" href="Point2d.html">Point2d</a></li>
<li class="toctree-l1"><a class="reference internal" href="Point2f.html">Point2f</a></li>
<li class="toctree-l1"><a class="reference internal" href="Point3d.html">Point3d</a></li>
<li class="toctree-l1"><a class="reference internal" href="Point3dList.html">Point3dList</a></li>
<li class="toctree-l1"><a class="reference internal" href="Point3f.html">Point3f</a></li>
<li class="toctree-l1"><a class="reference internal" href="Point4d.html">Point4d</a></li>
<li class="toctree-l1"><a class="reference internal" href="PointCloud.html">PointCloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="PointCloudItem.html">PointCloudItem</a></li>
<li class="toctree-l1"><a class="reference internal" href="PointGrid.html">PointGrid</a></li>
<li class="toctree-l1"><a class="reference internal" href="PolyCurve.html">PolyCurve</a></li>
<li class="toctree-l1"><a class="reference internal" href="Polyline.html">Polyline</a></li>
<li class="toctree-l1"><a class="reference internal" href="PolylineCurve.html">PolylineCurve</a></li>
<li class="toctree-l1"><a class="reference internal" href="PostEffect.html">PostEffect</a></li>
<li class="toctree-l1"><a class="reference internal" href="RenderChannels.html">RenderChannels</a></li>
<li class="toctree-l1"><a class="reference internal" href="RenderContent.html">RenderContent</a></li>
<li class="toctree-l1"><a class="reference internal" href="RenderEnvironment.html">RenderEnvironment</a></li>
<li class="toctree-l1"><a class="reference internal" href="RenderEnvironments.html">RenderEnvironments</a></li>
<li class="toctree-l1"><a class="reference internal" href="RenderMaterial.html">RenderMaterial</a></li>
<li class="toctree-l1"><a class="reference internal" href="RenderSettings.html">RenderSettings</a></li>
<li class="toctree-l1"><a class="reference internal" href="RenderTexture.html">RenderTexture</a></li>
<li class="toctree-l1"><a class="reference internal" href="RevSurface.html">RevSurface</a></li>
<li class="toctree-l1"><a class="reference internal" href="SafeFrame.html">SafeFrame</a></li>
<li class="toctree-l1"><a class="reference internal" href="ShutLining.html">ShutLining</a></li>
<li class="toctree-l1"><a class="reference internal" href="ShutLiningCurve.html">ShutLiningCurve</a></li>
<li class="toctree-l1"><a class="reference internal" href="Skylight.html">Skylight</a></li>
<li class="toctree-l1"><a class="reference internal" href="Sphere.html">Sphere</a></li>
<li class="toctree-l1"><a class="reference internal" href="SubD.html">SubD</a></li>
<li class="toctree-l1"><a class="reference internal" href="Sun.html">Sun</a></li>
<li class="toctree-l1"><a class="reference internal" href="Surface.html">Surface</a></li>
<li class="toctree-l1"><a class="reference internal" href="SurfaceProxy.html">SurfaceProxy</a></li>
<li class="toctree-l1"><a class="reference internal" href="TextDot.html">TextDot</a></li>
<li class="toctree-l1"><a class="reference internal" href="Texture.html">Texture</a></li>
<li class="toctree-l1"><a class="reference internal" href="TextureMapping.html">TextureMapping</a></li>
<li class="toctree-l1"><a class="reference internal" href="Thickening.html">Thickening</a></li>
<li class="toctree-l1"><a class="reference internal" href="Transform.html">Transform</a></li>
<li class="toctree-l1"><a class="reference internal" href="Vector2d.html">Vector2d</a></li>
<li class="toctree-l1"><a class="reference internal" href="Vector3d.html">Vector3d</a></li>
<li class="toctree-l1"><a class="reference internal" href="Vector3f.html">Vector3f</a></li>
<li class="toctree-l1"><a class="reference internal" href="ViewInfo.html">ViewInfo</a></li>
<li class="toctree-l1"><a class="reference internal" href="ViewportInfo.html">ViewportInfo</a></li>
</ul>

        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">rhino3dm</a>
      </nav>

      <div class="wy-nav-content">
        <div class="rst-content">
          <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
      <li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
      <li class="breadcrumb-item active">Light</li>
      <li class="wy-breadcrumbs-aside">
            <a href="_sources/Light.rst.txt" rel="nofollow"> View page source</a>
      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
             
  <section id="module-rhino3dm">
<span id="light"></span><h1>Light<a class="headerlink" href="#module-rhino3dm" title="Link to this heading"></a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="rhino3dm.Light">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">rhino3dm.</span></span><span class="sig-name descname"><span class="pre">Light</span></span><a class="headerlink" href="#rhino3dm.Light" title="Link to this definition"></a></dt>
<dd><dl class="py method">
<dt class="sig sig-object py" id="rhino3dm.Light.Light">
<span class="sig-name descname"><span class="pre">Light</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#rhino3dm.Light.Light" title="Link to this definition"></a></dt>
<dd><p>Light constructor</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.IsEnabled">
<span class="sig-name descname"><span class="pre">IsEnabled</span></span><a class="headerlink" href="#rhino3dm.Light.IsEnabled" title="Link to this definition"></a></dt>
<dd><p>bool: Gets or sets a value that defines if the light is turned on (true) or off (false).</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.LightStyle">
<span class="sig-name descname"><span class="pre">LightStyle</span></span><a class="headerlink" href="#rhino3dm.Light.LightStyle" title="Link to this definition"></a></dt>
<dd><p>LightStyle: Gets or sets a light style on this camera.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.IsPointLight">
<span class="sig-name descname"><span class="pre">IsPointLight</span></span><a class="headerlink" href="#rhino3dm.Light.IsPointLight" title="Link to this definition"></a></dt>
<dd><p>bool: Gets a value indicating whether the light style
is  CameraPoint or WorldPoint.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.IsDirectionalLight">
<span class="sig-name descname"><span class="pre">IsDirectionalLight</span></span><a class="headerlink" href="#rhino3dm.Light.IsDirectionalLight" title="Link to this definition"></a></dt>
<dd><p>bool: Gets a value indicating whether the light style
is  CameraDirectional or WorldDirectional.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.IsSpotLight">
<span class="sig-name descname"><span class="pre">IsSpotLight</span></span><a class="headerlink" href="#rhino3dm.Light.IsSpotLight" title="Link to this definition"></a></dt>
<dd><p>bool: Gets a value indicating whether the light style
is  CameraSpot or WorldSpot.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.IsLinearLight">
<span class="sig-name descname"><span class="pre">IsLinearLight</span></span><a class="headerlink" href="#rhino3dm.Light.IsLinearLight" title="Link to this definition"></a></dt>
<dd><p>bool: Gets a value indicating whether the light style
is  WorldLinear.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.IsRectangularLight">
<span class="sig-name descname"><span class="pre">IsRectangularLight</span></span><a class="headerlink" href="#rhino3dm.Light.IsRectangularLight" title="Link to this definition"></a></dt>
<dd><p>bool: Gets a value indicating whether the light style
is  WorldRectangular.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Location">
<span class="sig-name descname"><span class="pre">Location</span></span><a class="headerlink" href="#rhino3dm.Light.Location" title="Link to this definition"></a></dt>
<dd><p>rhino3dm.Point3d: Gets or sets the light or 3D position or location.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Direction">
<span class="sig-name descname"><span class="pre">Direction</span></span><a class="headerlink" href="#rhino3dm.Light.Direction" title="Link to this definition"></a></dt>
<dd><p>rhino3dm.Vector3d: Gets or sets the vector direction of the camera.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.PerpendicularDirection">
<span class="sig-name descname"><span class="pre">PerpendicularDirection</span></span><a class="headerlink" href="#rhino3dm.Light.PerpendicularDirection" title="Link to this definition"></a></dt>
<dd><p>rhino3dm.Vector3d: Gets a perpendicular vector to the camera direction.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Intensity">
<span class="sig-name descname"><span class="pre">Intensity</span></span><a class="headerlink" href="#rhino3dm.Light.Intensity" title="Link to this definition"></a></dt>
<dd><p>float: Gets or sets the light intensity.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.PowerWatts">
<span class="sig-name descname"><span class="pre">PowerWatts</span></span><a class="headerlink" href="#rhino3dm.Light.PowerWatts" title="Link to this definition"></a></dt>
<dd><p>float: Gets or sets the light power in watts (W).</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.PowerLumens">
<span class="sig-name descname"><span class="pre">PowerLumens</span></span><a class="headerlink" href="#rhino3dm.Light.PowerLumens" title="Link to this definition"></a></dt>
<dd><p>float: Gets or sets the light power in lumens (lm).</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.PowerCandela">
<span class="sig-name descname"><span class="pre">PowerCandela</span></span><a class="headerlink" href="#rhino3dm.Light.PowerCandela" title="Link to this definition"></a></dt>
<dd><p>float: Gets or sets the light power in candelas (cd).</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Ambient">
<span class="sig-name descname"><span class="pre">Ambient</span></span><a class="headerlink" href="#rhino3dm.Light.Ambient" title="Link to this definition"></a></dt>
<dd><p>System.Drawing.Color: Gets or sets the ambient color.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Diffuse">
<span class="sig-name descname"><span class="pre">Diffuse</span></span><a class="headerlink" href="#rhino3dm.Light.Diffuse" title="Link to this definition"></a></dt>
<dd><p>System.Drawing.Color: Gets or sets the diffuse color.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Specular">
<span class="sig-name descname"><span class="pre">Specular</span></span><a class="headerlink" href="#rhino3dm.Light.Specular" title="Link to this definition"></a></dt>
<dd><p>System.Drawing.Color: Gets or sets the specular color.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.AttenuationVector">
<span class="sig-name descname"><span class="pre">AttenuationVector</span></span><a class="headerlink" href="#rhino3dm.Light.AttenuationVector" title="Link to this definition"></a></dt>
<dd><p>rhino3dm.Vector3d: Gets or Sets the attenuation vector.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.SpotAngleRadians">
<span class="sig-name descname"><span class="pre">SpotAngleRadians</span></span><a class="headerlink" href="#rhino3dm.Light.SpotAngleRadians" title="Link to this definition"></a></dt>
<dd><p>float: Gets or sets the spot angle in radians.
Ignored for non-spot lights.angle = 0 to pi/2  (0 to 90 degrees).</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.SpotExponent">
<span class="sig-name descname"><span class="pre">SpotExponent</span></span><a class="headerlink" href="#rhino3dm.Light.SpotExponent" title="Link to this definition"></a></dt>
<dd><p>float: The spot exponent varies from 0.0 to 128.0 and provides
an exponential interface for controlling the focus or
concentration of a spotlight (like the
OpenGL GL_SPOT_EXPONENT parameter).  The spot exponent
and hot spot parameters are linked; changing one will
change the other.
A hot spot setting of 0.0 corresponds to a spot exponent of 128.
A hot spot setting of 1.0 corresponds to a spot exponent of 0.0.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.HotSpot">
<span class="sig-name descname"><span class="pre">HotSpot</span></span><a class="headerlink" href="#rhino3dm.Light.HotSpot" title="Link to this definition"></a></dt>
<dd><p>float: The hot spot setting runs from 0.0 to 1.0 and is used to
provides a linear interface for controlling the focus or
concentration of a spotlight.
A hot spot setting of 0.0 corresponds to a spot exponent of 128.
A hot spot setting of 1.0 corresponds to a spot exponent of 0.0.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Length">
<span class="sig-name descname"><span class="pre">Length</span></span><a class="headerlink" href="#rhino3dm.Light.Length" title="Link to this definition"></a></dt>
<dd><p>rhino3dm.Vector3d: Gets or sets the height in linear and rectangular lights.
(ignored for non-linear/rectangular lights.)</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Width">
<span class="sig-name descname"><span class="pre">Width</span></span><a class="headerlink" href="#rhino3dm.Light.Width" title="Link to this definition"></a></dt>
<dd><p>rhino3dm.Vector3d: Gets or sets the width in linear and rectangular lights.
(ignored for non-linear/rectangular lights.)</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.ShadowIntensity">
<span class="sig-name descname"><span class="pre">ShadowIntensity</span></span><a class="headerlink" href="#rhino3dm.Light.ShadowIntensity" title="Link to this definition"></a></dt>
<dd><p>float: Gets or sets the shadow intensity for the light.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="rhino3dm.Light.Name">
<span class="sig-name descname"><span class="pre">Name</span></span><a class="headerlink" href="#rhino3dm.Light.Name" title="Link to this definition"></a></dt>
<dd><p>str: Gets or sets the spot light name.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="rhino3dm.Light.SetAttenuation">
<span class="sig-name descname"><span class="pre">SetAttenuation</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a0</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">a1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">a2</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#rhino3dm.Light.SetAttenuation" title="Link to this definition"></a></dt>
<dd><p>Sets the attenuation settings (ignored for “directional” and “ambient” lights).
attenuation = 1/(a0 + d*a1 + d^2*a2) where d = distance to light.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a0</strong> (<em>float</em>) – The new constant attenuation divisor term.</p></li>
<li><p><strong>a1</strong> (<em>float</em>) – The new reverse linear attenuation divisor term.</p></li>
<li><p><strong>a2</strong> (<em>float</em>) – The new reverse quadratic attenuation divisor term.</p></li>
</ul>
</dd>
<dt class="field-even">Return type<span class="colon">:</span></dt>
<dd class="field-even"><p>void</p>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="rhino3dm.Light.GetAttenuation">
<span class="sig-name descname"><span class="pre">GetAttenuation</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">d</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#rhino3dm.Light.GetAttenuation" title="Link to this definition"></a></dt>
<dd><p>Gets the attenuation settings (ignored for “directional” and “ambient” lights).
attenuation = 1/(a0 + d*a1 + d^2*a2) where d = distance to light.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>d</strong> (<em>float</em>) – The distance to evaluate.</p>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>0 if a0 + d*a1 + d^2*a2 &lt;= 0.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p>float</p>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="rhino3dm.Light.GetSpotLightRadii">
<span class="sig-name descname"><span class="pre">GetSpotLightRadii</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#rhino3dm.Light.GetSpotLightRadii" title="Link to this definition"></a></dt>
<dd><p>Gets the spot light radii.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns<span class="colon">:</span></dt>
<dd class="field-odd"><p><p>tuple (bool, float, float)</p>
<ul class="simple">
<li><p>True if operation succeeded; otherwise, false.</p></li>
<li><p>The inner radius. This out parameter is assigned during this call. </p></li>
<li><p>The outer radius. This out parameter is assigned during this call. </p></li>
</ul>
</p>
</dd>
<dt class="field-even">Return type<span class="colon">:</span></dt>
<dd class="field-even"><p>(bool, float, float)</p>
</dd>
</dl>
</dd></dl>

</dd></dl>

</section>


           </div>
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="Layer.html" class="btn btn-neutral float-left" title="Layer" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="Line.html" class="btn btn-neutral float-right" title="Line" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 2019, Robert McNeel &amp; Associates.</p>
  </div>

  Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    provided by <a href="https://readthedocs.org">Read the Docs</a>.
   

</footer>
        </div>
      </div>
    </section>
  </div>
  <script>
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>